From: Keir Fraser Date: Tue, 16 Jun 2009 10:38:33 +0000 (+0100) Subject: xend: pass-through: Remove PciDeviceNotFoundError, it is never used X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13767 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22%22?a=commitdiff_plain;h=6c4c01bd4328fc39a34077d057919ff40c41bcb7;p=xen.git xend: pass-through: Remove PciDeviceNotFoundError, it is never used Signed-off-by: Simon Horman --- diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py index 9e7e534a33..fb64c01b9b 100644 --- a/tools/python/xen/util/pci.py +++ b/tools/python/xen/util/pci.py @@ -375,17 +375,6 @@ def check_mmio_bar(devs_list): return result -class PciDeviceNotFoundError(Exception): - def __init__(self,domain,bus,slot,func): - self.domain = domain - self.bus = bus - self.slot = slot - self.func = func - self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func) - - def __str__(self): - return ('PCI Device %s Not Found' % (self.name)) - class PciDeviceParseError(Exception): def __init__(self,msg): self.message = msg